package com.bw.service;

import com.bw.bean.ReviewInfo;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

public interface ReviewInfoService {
    //添加
    int add(ReviewInfo reviewInfo);
    //批量添加
    int tj(List<ReviewInfo> list);
    //删除
    @Delete("delete  from reviewinfo where id=#{id}")
    int del(int id);
    //批量删除
    int delete(Integer[] id);
}
